import http from "@/utils/http";
const prefixUrl = {
  query: "/analysis/userTag/list",
  create: "/analysis/userTag/add",
  queryDataById: "/analysis/userTag/info",
  update: "/analysis/userTag/edit",
  updateStatus: "/analysis/userTag/disable",
  delete: "/analysis/userTag/delete",
  queryG: "/analysis/userTagAttr/list",
  createG: "/analysis/userTagAttr/add",
  queryDataByIdG: "/analysis/userTagAttr/info",
  updateG: "/analysis/userTagAttr/edit",
  deleteG: "/analysis/userTagAttr/delete",
  selectDataByIdG: "/analysis/userTagAttr/detail",
};
export default {
  role: {
    query: "POST:" + prefixUrl.query,
    create: "POST:" + prefixUrl.create,
    queryDataById: "POST:" + prefixUrl.queryDataById,
    update: "POST:" + prefixUrl.update,
    updateStatus: "POST:" + prefixUrl.updateStatus,
    delete: "POST:" + prefixUrl.delete,
    queryG: "POST:" + prefixUrl.queryG,
    createG: "POST:" + prefixUrl.createG,
    queryDataByIdG: "POST:" + prefixUrl.queryDataByIdG,
    updateG: "POST:" + prefixUrl.updateG,
    deleteG: "POST:" + prefixUrl.deleteG,
    selectDataByIdG: "POST:" + prefixUrl.selectDataByIdG,
  },
  queryG(params = {}) {
    return http.post(prefixUrl.queryG, params);
  },
  createG(params = {}) {
    return http.post(prefixUrl.createG, params);
  },
  queryDataByIdG(params = {}) {
    return http.post(prefixUrl.queryDataByIdG, params);
  },
  updateG(params = {}) {
    return http.post(prefixUrl.updateG, params);
  },
  deleteG(params = {}) {
    return http.post(prefixUrl.deleteG, params);
  },
  selectDataByIdG(params = {}) {
    return http.post(prefixUrl.selectDataByIdG, params);
  },
  query(params = {}) {
    return http.post(prefixUrl.query, params);
  },

  create(params = {}) {
    return http.post(prefixUrl.create, params);
  },
  queryDataById(params = {}) {
    return http.post(prefixUrl.queryDataById, params);
  },
  update(params = {}) {
    return http.post(prefixUrl.update, params);
  },
  updateStatus(params = {}) {
    return http.post(prefixUrl.updateStatus, params);
  },
  delete(params = {}) {
    return http.post(prefixUrl.delete, params);
  },
};
